﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt
{
	// Token: 0x020000BB RID: 187
	public class TRevokeStmt : TCustomSqlStatement
	{
		// Token: 0x06000674 RID: 1652 RVA: 0x002FE937 File Offset: 0x002FCB37
		public TRevokeStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstRevoke;
		}

		// Token: 0x06000675 RID: 1653 RVA: 0x002FE948 File Offset: 0x002FCB48
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000676 RID: 1654 RVA: 0x002FE95D File Offset: 0x002FCB5D
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000677 RID: 1655 RVA: 0x002FE96D File Offset: 0x002FCB6D
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
